package com.dashang.entity;

import java.util.List;

/**
 * 角色实体对象
 *
 * @author 陈兴
 * @version [版本号, 2011-9-16]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class Role
{
    // 角色id
    private int roleId;

    // 角色名称
    private String roleName;

    // 权限列表
    private List<Function> functions;

    public int getRoleId()
    {
        return roleId;
    }

    public void setRoleId(int roleId)
    {
        this.roleId = roleId;
    }

    public String getRoleName()
    {
        return roleName;
    }

    public void setRoleName(String roleName)
    {
        this.roleName = roleName;
    }

    public List<Function> getFunctions()
    {
        return functions;
    }

    public void setFunctions(List<Function> functions)
    {
        this.functions = functions;
    }

}
